import request from '@/utils/request'

// 列表
export function search(query) {
  console.log('请求参数：', query, JSON.stringify(query))
  return request({
    url: '/admin/api/sys/logininfor/search'
    , method: 'post'
    , data: query
  })
}

// 删除
export function dels(ids) {
  return request({
    url: '/admin/api/sys/logininfor/' + ids
    , method: 'delete'
  })
}

// 清空
export function clean() {
  return request({
    url: '/admin/api/sys/logininfor/clean'
    , method: 'delete'
  })
}
